//
//  YFMomentsCell.h
//  CoollangTennisBall
//
//  Created by Coollang on 2017/9/20.
//  Copyright © 2017年 Coollang-YF. All rights reserved.
//

#import <UIKit/UIKit.h>

@class YFMomentModel,YFMomentsCell;
@protocol JYFMomentsCellDelegate <NSObject>

- (void)watchMoreTextAction:(YFMomentsCell *)cell
                      model:(YFMomentModel *)model
                  indexPath:(NSIndexPath *)indexPath;

- (void)editLikeAction:(YFMomentsCell *)cell
                 model:(YFMomentsCell *)model
             indexPath:(NSIndexPath *)indexPath;

@end

@interface YFMomentsCell : UITableViewCell
/**
 赋予数据
 @params    model           数据模型
 @params    indexPath       索引
 @params    delegate        代理
 */
- (void)setModel:(YFMomentModel *)model
       indexPath:(NSIndexPath *)indexPath
        delegate:(id<JYFMomentsCellDelegate>)delegate;

@end
